package com.xcf.center.server;

import com.xcf.center.ServerMeta;

public class ServerTest {

    public static void main(String[] args) throws Exception {
        ZookeeperRegister register = new ZookeeperRegister();
        register.init();
        ServerMeta serverMeta = new ServerMeta();
        serverMeta.setIp("127.0.0.1");
        serverMeta.setPort(8080);
        register.register(serverMeta);
        Thread.sleep(Integer.MAX_VALUE);
    }
}
